function deleteToolbar(viewer){
    var viewerToolbar = viewer.getToolbar(true);
    console.log("1. gettoolbar:" + viewerToolbar);

    var modelTools = viewerToolbar.getControl(Autodesk.Viewing.TOOLBAR.MODELTOOLSID);
    console.log("2. getmodelTools:" + modelTools);

    var tool = modelTools.getControl("toolbar-measurementSubmenuTool");
    console.log("3. getcontrol:" + tool);

    var ret = modelTools.removeControl("toolbar-measurementSubmenuTool");
    console.log("4. result:" + ret);
}